package com.zn.util;

import java.util.TimeZone;

/**
 * Created by 尹佳威 on 2018/7/9.
 * 静态常量类
 */
public class Constant {
    public static final TimeZone DEFAULT_TIMEZONE = TimeZone.getTimeZone("GMT+8:00");
    public static final String SMS_BEFROM="SMS:";
    public static final String RESSET_PWD_BEFROM="RESSET-PWD-SMS:";
    public static final String RETRIEVE_ACCOUNT_SMS="RETRIEVE-ACCOUNT-SMS:";
    public static final String CUSTOMER_INCR_NUM="CUSTOMER-INCR-NUM:";
    public static final String SOCKET_CONNECT_NUM="SOCKET_CONNECT_NUM";
    public static final String CUSTOMER_TOKEN_BEFROM="TOKEN:";
    public static final String MAIN_CONTRACT_KEY="MAIN-CONTRACT-LIST";
    public static final String TRADING_NOTIFY_CHANNEL="TRADING_NOTIFY_CHANNEL";
    public static final String MAIN_CONTRACT_CHANNEL="MAIN_CONTRACT_CHANNEL";
    public static final String PAY_METHOD_KEY_QUICK="PAY-METHOD-KEY:QUICK";
    public static final String PAY_METHOD_KEY_GATEWAY="PAY-METHOD-KEY:GATEWAY";
    public static final Integer TICK=1;
    public static final Integer TRADE_ORDER=2;
    public static final Integer DEAL_ORDER=3;
    public static final Integer ETF=4;
    public static final String ORDER_NO_LOCA="ORDER_NO_LOCA:";
    public static final String PAY_NO_LOCA="PAY_NO_LOCA:";
    public static final String FUTURE_BUSINESS="FUTURE-BUSINESS";
    public static final String ORDER_REF="ORDER-REF:";
    /**修改涨跌幅用的channel**/
    public static final String UPDATE_CHG_CHANNEL="UPDATE_CHG_CHANNEL";
    public static final String TRADE_PASSWORD_REGEX="^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,24}$";
    /******************************处理幂等性问题Begin*********************************/
    /**处理幂等性问题Key 线下充值接口**/
    public static final String IDEMPOTENCY_UNDERLINERECHARGE="IDEMPOTENCY-UNDERLINERECHARGE:";
    /**处理幂等性问题 开仓接口**/
    public static final String IDEMPOTENCY_REQSOPENREPORTORDER="IDEMPOTENCY-REQSOPENREPORTORDER:";
    /**r处理幂等性问题 平仓仓接口**/
    public static final String IDEMPOTENCY_REQSCLOSEREPORTORDER="IDEMPOTENCY-REQSCLOSEREPORTORDER:";
    /******************************处理幂等性问题END*********************************/

    /******************************K线Begin*********************************/
    /**正在进行中的一分钟K线**/
    public static final Integer UNDERWAY_KLINE_ONE_MIN=1;
    /**正在进行中的五分钟K线**/
    public static final Integer UNDERWAY_KLINE_FIVE_MIN=2;
    /**正在进行中的十五分钟K线**/
    public static final Integer UNDERWAY_KLINE_FIFTEEN_MIN=3;
    /**正在进行中的三十分钟K线**/
    public static final Integer UNDERWAY_KLINE_THIRTY_MIN=4;
    /**正在进行中的一小时K线**/
    public static final Integer UNDERWAY_KLINE_ONE_HR=5;
    /**正在进行中的四小时K线**/
    public static final Integer UNDERWAY_KLINE_FOUR_HR=6;
    /**正在进行中的日K线**/
    public static final Integer UNDERWAY_KLINE_DAY=7;
    /******************************K线End*********************************/

    /******************************MongoDbKlineBegin*********************************/
    /**一分钟K线表**/
    public static final String QUOTATIONS_KLINE_ONE_MIN="quotations_kline_one_min_";
    /**日K线**/
    public static final String QUOTATIONS_KLINE_DAY="quotations_kline_day";
    /**十五分钟K线**/
    public static final String QUOTATIONS_KLINE_FIFTEEN_MIN="quotations_kline_fifteen_min_";
    /**五分钟K线**/
    public static final String QUOTATIONS_KLINE_FIVE_MIN="quotations_kline_five_min_";
    /**周线**/
    public static final String QUOTATIONS_KLINE_WEEK="quotations_kline_week";
    /**四小时K线**/
    public static final String QUOTATIONS_KLINE_FOUR_HR="quotations_kline_four_hr";
    /**一小时线**/
    public static final String QUOTATIONS_KLINE_ONE_HR="quotations_kline_one_hr";
    /**三十分钟线**/
    public static final String QUOTATIONS_KLINE_THIRTY_MIN="quotations_kline_thirty_min";
    /******************************MongoDbKlineEnd*********************************/

    /**********************************50ETF使用BEGIN*******************************************/
    public static final String SINA_DATA_DELIVERY_DAY="SINA-DATA-DELIVERY-DAY";
    /************************************new****************************************************/
    public static final String TARGET_CODE_LIST="TARGET-CODE-LIST";
    public static final String INSTRUMENT_MONTH_SET="INSTRUMENT-MONTH-SET:";
    public static final String EXECS_PRICE_SET="EXECS-PRICE-SET:";
    public static final String OPTION_SYMBOL_INFO="OPTION-SYMBOL-INFO:";
    public static final String OPTION_TICKL_INFO="OPTION-TICK-INFO:";
    public static final String TRADE_DATE_INFO="TRADE-DATE-INFO:";
    public static final String DATE_OF_TRANSACTION="DATE-OF-TRANSACTION";
    public static final String BUSINESSUNIQUE="BUSINESSUNIQUE";
    public static final String PREVENTREPEAT_CUSTOMERTEL="PREVENTREPEAT-CUSTOMERTEL:";
    public static final String PREVENTREPEAT_CUSTOMERID="PREVENTREPEAT-CUSTOMERID:";
    public static final String DISTINCT_INSTRUMENT="DISTINCT-INSTRUMENT:";
    /**********************************50ETF使用END*******************************************/



}
